import sha
import random
from decimal import Decimal

class UnitMaster:
    def __inner(self):
        return {"a":1, 
                "b":2,
                "c":3}

    def init(self):
        return self.__inner()

    def ratio(self, price, base):
        try:
            return price/base
        except:
            return 0

